/*
 * Copyright (C) 2012  Romain DUBOIS
 * 
 * This file is part of NeMoS - Network and Modular Software
 * 
 * NeMoS is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 * 
 * NeMoS is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License
 * along with NeMoS.  If not, see <http://www.gnu.org/licenses/>.
 */
package nemos.swing;

/**
 * GenerationException : The Swing component generation exception.
 * 
 * <p>
 * This exception is thrown when a component generation failed. It can be due to
 * an invalid input format, a missing mandatory value, an unknown component, ...
 * </p>
 * 
 * @author Romain DUBOIS
 */
public class ConvertException extends Exception {

	/** Serial version */
	private static final long serialVersionUID = 1L;

	/**
	 * Constructor.
	 */
	public ConvertException() {
		super();
	}

	/**
	 * Constructor.
	 * 
	 * @param message
	 *            The error message
	 * @param cause
	 *            The cause
	 */
	public ConvertException(String message, Throwable cause) {
		super(message, cause);
	}

	/**
	 * Constructor.
	 * 
	 * @param message
	 *            The error message
	 */
	public ConvertException(String message) {
		super(message);
	}

	/**
	 * Constructor.
	 * 
	 * @param cause
	 *            The cause
	 */
	public ConvertException(Throwable cause) {
		super(cause);
	}
}
